﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JQueryWidget.WidgetWeb
{
    public partial class UpdatePanelTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            Control widgetContainer = Page.LoadControl("~/Modules/WidgetContainer.ascx");
            widgetContainer.ID = "Container1";
            TestDiv.Controls.Add(widgetContainer);
        }
    }
}